import Layout from '@/views/layout/index.vue'
// 业务管理
export default {
  path: '/',
  component: Layout,
  redirect: '/dictionaryCenter',
  meta: { title: '系统管理' },
  children: [
    // 区域管理
    {
      path: '/dictionaryCenter',
      name: '',
      component: () => import('@/views/system/dictionaryCenter/index.vue'),
      meta: { title: '字典管理' }
    },
    {
      path: '/enterPrise',
      name: '',
      component: () => import('@/views/system/noticeCenter/index.vue'),
      meta: { title: '通知中心' }
    },
    {
      path: '/systemLog',
      name: '',
      component: () => import('@/views/system/systemLog/index.vue'),
      meta: { title: '系统日志' }
    },
    {
      path: '/rightsControl',
      name: '',
      meta: { title: '权限管理' },
      children: [
        {
          path: '/userControl',
          name: '',
          component: () => import('@/views/system/powerCenter/userControl/index.vue'),
          meta: { title: '用户管理' }
        },
        {
          path: '/roleControl',
          name: '',
          component: () => import('@/views/system/powerCenter/roleControl/index.vue'),
          meta: { title: '角色管理' }
        },
        {
          path: '/menuControl',
          name: '',
          component: () => import('@/views/system/powerCenter/menuControl/index.vue'),
          meta: { title: '菜单管理' }
        },
        {
          path: '/departmentControl',
          name: '',
          component: () => import('@/views/system/powerCenter/departmentControl/index.vue'),
          meta: { title: '部门管理' }
        },
        {
          path: '/stationControl',
          name: '',
          component: () => import('@/views/system/powerCenter/stationControl/index.vue'),
          meta: { title: '岗位管理' }
        }
      ]
    }
  ]
}
